package com.evan.idempotent.storage.idempotentstorageimpl;

import com.evan.idempotent.enums.IdempotentStorageTypeEnum;
import com.evan.idempotent.storage.IdempotentStorage;

import java.util.concurrent.TimeUnit;

/**
 * @Description: mysql存储
 * @Author liudeguang
 */
public class IdempotentStorageMysql implements IdempotentStorage {

    @Override
    public IdempotentStorageTypeEnum type() {
        return IdempotentStorageTypeEnum.MYSQL;
    }

    @Override
    public void setValue(String key, String value, long expireTime, TimeUnit timeUnit) {

    }

    @Override
    public String getValue(String key) {
        return null;
    }

    @Deprecated
    @Override
    public Boolean verify(String key, long expireTime, TimeUnit timeUnit) {
        return null;
    }
}
